Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: more lightweight npm bin discovery in windows #7271

Merged
merged 3 commits into from
Mar 7, 2024

Conversation

wraithgar
Copy link
Member

This will stop npm having to load twice on every windows invocation

@wraithgar wraithgar requested a review from a team as a code owner March 6, 2024 19:16
@wraithgar wraithgar self-assigned this Mar 6, 2024
test/bin/windows-shims.js Outdated Show resolved Hide resolved
test/bin/windows-shims.js Outdated Show resolved Hide resolved
bin/npm-prefix.js Outdated Show resolved Hide resolved
@wraithgar
Copy link
Member Author

Manually tested these in Windows by copying the new bash/cmd scripts and the new npm-prefix.js into "C:\Program files\nodejs". Works fine still.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants